package com.driden.way;

import android.text.Editable;
import android.text.TextWatcher;
import android.widget.TextView;

public class TextChangeListener implements TextWatcher {

	TextView x;

	public TextChangeListener(TextView tv){
		x = tv;
	}
	
	public void afterTextChanged(Editable s) {
		
	}

	public void beforeTextChanged(CharSequence s, int start, int count,
			int after) {
		
	}

	public void onTextChanged(CharSequence s, int start, int before, int count) {
		x.setText(s);
	}

}
